/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package WekaModels;

import grex.Data.ArffTableModel;
import weka.classifiers.trees.SimpleCart;

/**
 *
 * @author RIK
 */
public class GrexSimpleCart extends WekaPredictiveModel{
    
    public SimpleCart cart;
    public GrexSimpleCart(ArffTableModel data){
        super(data, new SimpleCart());
        cart = (SimpleCart)model;
    }

    public double getNrOfNodes() {
        return cart.numNodes();
    }

    public String getName() {
        return "SCart";
    }
    
}
